//跨域代理前缀
const API_PROXY_PREFIX='/api'
const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
// const BASE_URL = process.env.VUE_APP_API_BASE_URL

module.exports = {
  LOGIN: `${BASE_URL}/prisoner/login`,
  LOGIN2: `${BASE_URL}/user/login`,
  ROUTES: `${BASE_URL}/routes`,
  AFFAIRS: `${BASE_URL}/affairs`,
  BASE: `${BASE_URL}`,
}
